package cn.gov.pbc.exam.controller;

import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RestController;

import cn.gov.pbc.exam.common.ServerResponse;
import cn.gov.pbc.exam.util.PropertiesUtil;

@RequestMapping("/config/")
@RestController
public class ConfigController {
	
	@RequestMapping(value = "getBackUrl.do", method = RequestMethod.POST)
	ServerResponse<?> getBackUrl(){
		return ServerResponse.createBySuccess(PropertiesUtil.getProperty("back.url"));
	}
}
